<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta content="" name="description">
    <meta content="" name="author">
    <title>用户信息添加</title>
    <!-- Bootstrap core CSS -->
    <link href="../../../css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="../../../css/dashboard.css" rel="stylesheet">
    <style type="text/css">
        /* Chart.js */
        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
    </style>
</head>

<body>
<!--顶部菜单 -->
<div th:replace="~{topleft::topnav}"></div>
<div class="container-fluid">
    <div class="row">
        <!--左菜单 -->
        <div th:replace="twoGroup/twoGroup.html" class="col-md-3"></div>
        <div class="col-md-9">
            <form action="#" method="post" th:action="@{/twoGroup/userinfo/addUser}">
                <ul style="list-style: none">
                    <li class="form-group">
                        <label>姓名:</label>
                        <input name="name" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>性别:</label>
                        <input name="sex" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>年龄:</label>
                        <input name="age" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>电话:</label>
                        <input name="phone" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>邮箱:</label>
                        <input name="email" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>地址:</label>
                        <input name="address" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <label>生日:</label>
                        <input name="birthday" type="text" class="form-control"/>
                    </li>
                    <li class="form-group">
                        <input class="btn btn-sm btn-info" type="submit" value="保存"/>
                    </li>
                </ul>
            </form>
        </div>
    </div>
</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../../js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="../../../js/popper.min.js" type="text/javascript"></script>
<script src="../../../js/bootstrap.min.js" type="text/javascript"></script>

<!-- Icons -->
<script src="../../../js/feather.min.js" type="text/javascript"></script>
<script>
    feather.replace()
</script>
<div th:replace="twoGroup/twoGroupmain.html"></div>
<!-- Graphs -->
<script src="../../../js/Chart.min.js" type="text/javascript"></script>
<script>
    var ctx = document.getElementById("myChart");
    var myChart = new Chart(ctx, {
        type: 'line',
        data: {
            labels: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
            datasets: [{
                data: [15339, 21345, 18483, 24003, 23489, 24092, 12034],
                lineTension: 0,
                backgroundColor: 'transparent',
                borderColor: '#007bff',
                borderWidth: 4,
                pointBackgroundColor: '#007bff'
            }]
        },
        options: {
            scales: {
                yAxes: [{
                    ticks: {
                        beginAtZero: false
                    }
                }]
            },
            legend: {
                display: false,
            }
        }
    });
</script>

</body>

</html>
